﻿using Cysharp.Threading.Tasks;
using System;
using UnityEngine;

public partial class Tools
{
    /// <summary>
    /// 计算自由落体时的速度
    /// </summary>
    public static float FFMEndSpeed(float gravity, float freeFallHight)
    {
        return Mathf.Sqrt(2 * gravity * freeFallHight);
    }
}